home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / files / dsp / 56ktools / gcc5616.tz / gcc5616 / gcc5616 / BUGS next >
Text File  |  1992-08-10  |  1KB  |  39 lines

  1. This file lists the known bugs in the GCC5616 compiler:
  2.  
  3.  BUGNUMBER: 0001
  4.  DESCRIPTION: Automatic long variables are sometimes not handled
  5.      correctly. They are assigned but never written back
  6.      to memory.
  7.  WORKAROUND: Declare the variables 'static'.
  8.  POSSIBLE CAUSE: The reload phase issues input reloads for some reason
  9.      but never issues output reloads.
  10.  TEST FILE:
  11.     ================================================================
  12.    long time(void);
  13.    
  14.    void wdog_test(int val)
  15.    {
  16.     register long timeout;
  17.    
  18.     timeout = (long)val;
  19.    
  20.     while(time() < timeout);
  21.    }
  22.     ================================================================
  23.  
  24.  BUGNUMBER: 0002
  25.  DESCRIPTION: Conversion from 'char' to 'float' causes an erroneous
  26.      test, compare, and add.
  27.  WORKAROUND: First convert to 'int', then 'float'
  28.  POSSIBLE CAUSE: This problem exists at RTL generation
  29.  TEST FILE:
  30.     ================================================================
  31.    float foo(char i) {
  32.     float flength;
  33.    
  34.     flength = (float)(i);
  35.     return flength;
  36.    }
  37.     ================================================================
  38.  
  39.